package stmo.符号表;

/**
 *  有序符号表测试类
 */


public class OrderSymbolTableTest {

    public static void main(String[] args) {
        OrderSymbolTable<Integer,String> orderSymbolTable = new OrderSymbolTable<>();
        orderSymbolTable.put(1,"111");
        orderSymbolTable.put(2,"222");
        orderSymbolTable.put(3,"333");
        orderSymbolTable.put(5,"555");
        orderSymbolTable.put(4,"444");

        for (int i = 1;i <= orderSymbolTable.size();i++) {
            System.out.println(orderSymbolTable.get(i));
        }

    }

}
